@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

if (@SCN_USE_EXTERNAL_FAST_FLOAT@)
    find_dependency(FastFloat)
endif ()

if ((@SCN_REGEX_BACKEND@ STREQUAL "Boost") AND @SCN_USE_EXTERNAL_REGEX_BACKEND@)
    find_dependency(Boost COMPONENTS regex)

    if (@SCN_REGEX_USE_ICU@)
        find_dependency(ICU COMPONENTS data i18n uc)
    endif ()
endif ()

if ((@SCN_REGEX_BACKEND@ STREQUAL "re2") AND @SCN_USE_EXTERNAL_REGEX_BACKEND@)
    find_dependency(re2)
endif ()

check_required_components(scn)

if (TARGET scn::scn)
    return()
endif ()

include("${CMAKE_CURRENT_LIST_DIR}/scn-targets.cmake")
